Creation information for a shader. More...
#include <kanzi/gfx/create_info.hpp>
Public Types | |
| using | HandleType |
| Shader handle. | |
Public Attributes | |
| vector< byte > | blob |
| The contents of the shader. For Vulkan, this is SPIR-V code, for OpenGL it is GLSL code. | |
| ShaderStage | stage |
| The shader stage for this shader. | |
Public Attributes inherited from kanzi::gfx::BaseCreateInfo | |
| string_view | name |
| The name of the graphics object, useful for debugging. | |
Creation information for a shader.
Each shader represents a stage of execution on the GPU.
Shader handle.
| ShaderStage kanzi::gfx::ShaderCreateInfo::stage |
The shader stage for this shader.
| vector<byte> kanzi::gfx::ShaderCreateInfo::blob |
The contents of the shader. For Vulkan, this is SPIR-V code, for OpenGL it is GLSL code.